package GUI.Panels.GameObjectPanels;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionListener;

import javax.swing.JTextArea;

import GUI.GameScreen;
import GUI.Panels.GameObjectPanels.ShipPanels.ShipPanel;

public class ReactorPanel extends ObjectPanel 
{
	private static final long serialVersionUID = 1L;
	private final JTextArea txt = new JTextArea();
	
	public ReactorPanel(ActionListener actionListener)
	{
		addPanels(actionListener);
	}
	
	public void addPanels(ActionListener actionListener)
	{
		txt.setPreferredSize(new Dimension(ShipPanel.REACTOR_WIDTH, ShipPanel.REACTOR_HEIGHT));
		this.txt.setLineWrap(true);
		this.txt.setEditable(false);
		this.add(txt, BorderLayout.NORTH);
	}
	
	public void update()
	{
		
	}
}
